3.7.19 \(\int \frac {x^3 (a+b x^2)^2}{\sqrt {c+d x^2}} \, dx\)

Optimal. Leaf size=112 \[ -\frac {b \left (c+d x^2\right )^{5/2} (3 b c-2 a d)}{5 d^4}+\frac {\left (c+d x^2\right )^{3/2} (b c-a d) (3 b c-a d)}{3 d^4}-\frac {c \sqrt {c+d x^2} (b c-a d)^2}{d^4}+\frac {b^2 \left (c+d x^2\right )^{7/2}}{7 d^4} \]

________________________________________________________________________________________

Rubi [A]  time = 0.09, antiderivative size = 112, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {446, 77} \begin {gather*} -\frac {b \left (c+d x^2\right )^{5/2} (3 b c-2 a d)}{5 d^4}+\frac {\left (c+d x^2\right )^{3/2} (b c-a d) (3 b c-a d)}{3 d^4}-\frac {c \sqrt {c+d x^2} (b c-a d)^2}{d^4}+\frac {b^2 \left (c+d x^2\right )^{7/2}}{7 d^4} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(x^3*(a + b*x^2)^2)/Sqrt[c + d*x^2],x]

[Out]

-((c*(b*c - a*d)^2*Sqrt[c + d*x^2])/d^4) + ((b*c - a*d)*(3*b*c - a*d)*(c + d*x^2)^(3/2))/(3*d^4) - (b*(3*b*c -
 2*a*d)*(c + d*x^2)^(5/2))/(5*d^4) + (b^2*(c + d*x^2)^(7/2))/(7*d^4)

Rule 77

Int[((a_.) + (b_.)*(x_))*((c_) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandIntegran
d[(a + b*x)*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && NeQ[b*c - a*d, 0] && ((ILtQ[
n, 0] && ILtQ[p, 0]) || EqQ[p, 1] || (IGtQ[p, 0] && ( !IntegerQ[n] || LeQ[9*p + 5*(n + 2), 0] || GeQ[n + p + 1
, 0] || (GeQ[n + p + 2, 0] && RationalQ[a, b, c, d, e, f]))))

Rule 446

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Dist[1/n, Subst[Int
[x^(Simplify[(m + 1)/n] - 1)*(a + b*x)^p*(c + d*x)^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p, q}, x] &&
 NeQ[b*c - a*d, 0] && IntegerQ[Simplify[(m + 1)/n]]

Rubi steps

\begin {align*} \int \frac {x^3 \left (a+b x^2\right )^2}{\sqrt {c+d x^2}} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {x (a+b x)^2}{\sqrt {c+d x}} \, dx,x,x^2\right )\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \left (-\frac {c (b c-a d)^2}{d^3 \sqrt {c+d x}}+\frac {(b c-a d) (3 b c-a d) \sqrt {c+d x}}{d^3}-\frac {b (3 b c-2 a d) (c+d x)^{3/2}}{d^3}+\frac {b^2 (c+d x)^{5/2}}{d^3}\right ) \, dx,x,x^2\right )\\ &=-\frac {c (b c-a d)^2 \sqrt {c+d x^2}}{d^4}+\frac {(b c-a d) (3 b c-a d) \left (c+d x^2\right )^{3/2}}{3 d^4}-\frac {b (3 b c-2 a d) \left (c+d x^2\right )^{5/2}}{5 d^4}+\frac {b^2 \left (c+d x^2\right )^{7/2}}{7 d^4}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.10, size = 99, normalized size = 0.88 \begin {gather*} \frac {\sqrt {c+d x^2} \left (35 a^2 d^2 \left (d x^2-2 c\right )+14 a b d \left (8 c^2-4 c d x^2+3 d^2 x^4\right )-3 b^2 \left (16 c^3-8 c^2 d x^2+6 c d^2 x^4-5 d^3 x^6\right )\right )}{105 d^4} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(x^3*(a + b*x^2)^2)/Sqrt[c + d*x^2],x]

[Out]

(Sqrt[c + d*x^2]*(35*a^2*d^2*(-2*c + d*x^2) + 14*a*b*d*(8*c^2 - 4*c*d*x^2 + 3*d^2*x^4) - 3*b^2*(16*c^3 - 8*c^2
*d*x^2 + 6*c*d^2*x^4 - 5*d^3*x^6)))/(105*d^4)

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.06, size = 111, normalized size = 0.99 \begin {gather*} \frac {\sqrt {c+d x^2} \left (-70 a^2 c d^2+35 a^2 d^3 x^2+112 a b c^2 d-56 a b c d^2 x^2+42 a b d^3 x^4-48 b^2 c^3+24 b^2 c^2 d x^2-18 b^2 c d^2 x^4+15 b^2 d^3 x^6\right )}{105 d^4} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[(x^3*(a + b*x^2)^2)/Sqrt[c + d*x^2],x]

[Out]

(Sqrt[c + d*x^2]*(-48*b^2*c^3 + 112*a*b*c^2*d - 70*a^2*c*d^2 + 24*b^2*c^2*d*x^2 - 56*a*b*c*d^2*x^2 + 35*a^2*d^
3*x^2 - 18*b^2*c*d^2*x^4 + 42*a*b*d^3*x^4 + 15*b^2*d^3*x^6))/(105*d^4)

________________________________________________________________________________________

fricas [A]  time = 1.40, size = 103, normalized size = 0.92 \begin {gather*} \frac {{\left (15 \, b^{2} d^{3} x^{6} - 48 \, b^{2} c^{3} + 112 \, a b c^{2} d - 70 \, a^{2} c d^{2} - 6 \, {\left (3 \, b^{2} c d^{2} - 7 \, a b d^{3}\right )} x^{4} + {\left (24 \, b^{2} c^{2} d - 56 \, a b c d^{2} + 35 \, a^{2} d^{3}\right )} x^{2}\right )} \sqrt {d x^{2} + c}}{105 \, d^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(b*x^2+a)^2/(d*x^2+c)^(1/2),x, algorithm="fricas")

[Out]

1/105*(15*b^2*d^3*x^6 - 48*b^2*c^3 + 112*a*b*c^2*d - 70*a^2*c*d^2 - 6*(3*b^2*c*d^2 - 7*a*b*d^3)*x^4 + (24*b^2*
c^2*d - 56*a*b*c*d^2 + 35*a^2*d^3)*x^2)*sqrt(d*x^2 + c)/d^4

________________________________________________________________________________________

giac [A]  time = 0.36, size = 137, normalized size = 1.22 \begin {gather*} -\frac {{\left (b^{2} c^{3} - 2 \, a b c^{2} d + a^{2} c d^{2}\right )} \sqrt {d x^{2} + c}}{d^{4}} + \frac {15 \, {\left (d x^{2} + c\right )}^{\frac {7}{2}} b^{2} - 63 \, {\left (d x^{2} + c\right )}^{\frac {5}{2}} b^{2} c + 105 \, {\left (d x^{2} + c\right )}^{\frac {3}{2}} b^{2} c^{2} + 42 \, {\left (d x^{2} + c\right )}^{\frac {5}{2}} a b d - 140 \, {\left (d x^{2} + c\right )}^{\frac {3}{2}} a b c d + 35 \, {\left (d x^{2} + c\right )}^{\frac {3}{2}} a^{2} d^{2}}{105 \, d^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(b*x^2+a)^2/(d*x^2+c)^(1/2),x, algorithm="giac")

[Out]

-(b^2*c^3 - 2*a*b*c^2*d + a^2*c*d^2)*sqrt(d*x^2 + c)/d^4 + 1/105*(15*(d*x^2 + c)^(7/2)*b^2 - 63*(d*x^2 + c)^(5
/2)*b^2*c + 105*(d*x^2 + c)^(3/2)*b^2*c^2 + 42*(d*x^2 + c)^(5/2)*a*b*d - 140*(d*x^2 + c)^(3/2)*a*b*c*d + 35*(d
*x^2 + c)^(3/2)*a^2*d^2)/d^4

________________________________________________________________________________________

maple [A]  time = 0.01, size = 108, normalized size = 0.96 \begin {gather*} -\frac {\sqrt {d \,x^{2}+c}\, \left (-15 b^{2} x^{6} d^{3}-42 a b \,d^{3} x^{4}+18 b^{2} c \,d^{2} x^{4}-35 a^{2} d^{3} x^{2}+56 a b c \,d^{2} x^{2}-24 b^{2} c^{2} d \,x^{2}+70 a^{2} c \,d^{2}-112 a b \,c^{2} d +48 b^{2} c^{3}\right )}{105 d^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3*(b*x^2+a)^2/(d*x^2+c)^(1/2),x)

[Out]

-1/105*(d*x^2+c)^(1/2)*(-15*b^2*d^3*x^6-42*a*b*d^3*x^4+18*b^2*c*d^2*x^4-35*a^2*d^3*x^2+56*a*b*c*d^2*x^2-24*b^2
*c^2*d*x^2+70*a^2*c*d^2-112*a*b*c^2*d+48*b^2*c^3)/d^4

________________________________________________________________________________________

maxima [A]  time = 0.91, size = 181, normalized size = 1.62 \begin {gather*} \frac {\sqrt {d x^{2} + c} b^{2} x^{6}}{7 \, d} - \frac {6 \, \sqrt {d x^{2} + c} b^{2} c x^{4}}{35 \, d^{2}} + \frac {2 \, \sqrt {d x^{2} + c} a b x^{4}}{5 \, d} + \frac {8 \, \sqrt {d x^{2} + c} b^{2} c^{2} x^{2}}{35 \, d^{3}} - \frac {8 \, \sqrt {d x^{2} + c} a b c x^{2}}{15 \, d^{2}} + \frac {\sqrt {d x^{2} + c} a^{2} x^{2}}{3 \, d} - \frac {16 \, \sqrt {d x^{2} + c} b^{2} c^{3}}{35 \, d^{4}} + \frac {16 \, \sqrt {d x^{2} + c} a b c^{2}}{15 \, d^{3}} - \frac {2 \, \sqrt {d x^{2} + c} a^{2} c}{3 \, d^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(b*x^2+a)^2/(d*x^2+c)^(1/2),x, algorithm="maxima")

[Out]

1/7*sqrt(d*x^2 + c)*b^2*x^6/d - 6/35*sqrt(d*x^2 + c)*b^2*c*x^4/d^2 + 2/5*sqrt(d*x^2 + c)*a*b*x^4/d + 8/35*sqrt
(d*x^2 + c)*b^2*c^2*x^2/d^3 - 8/15*sqrt(d*x^2 + c)*a*b*c*x^2/d^2 + 1/3*sqrt(d*x^2 + c)*a^2*x^2/d - 16/35*sqrt(
d*x^2 + c)*b^2*c^3/d^4 + 16/15*sqrt(d*x^2 + c)*a*b*c^2/d^3 - 2/3*sqrt(d*x^2 + c)*a^2*c/d^2

________________________________________________________________________________________

mupad [B]  time = 0.66, size = 105, normalized size = 0.94 \begin {gather*} \sqrt {d\,x^2+c}\,\left (\frac {b^2\,x^6}{7\,d}-\frac {70\,a^2\,c\,d^2-112\,a\,b\,c^2\,d+48\,b^2\,c^3}{105\,d^4}+\frac {x^2\,\left (35\,a^2\,d^3-56\,a\,b\,c\,d^2+24\,b^2\,c^2\,d\right )}{105\,d^4}+\frac {2\,b\,x^4\,\left (7\,a\,d-3\,b\,c\right )}{35\,d^2}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^3*(a + b*x^2)^2)/(c + d*x^2)^(1/2),x)

[Out]

(c + d*x^2)^(1/2)*((b^2*x^6)/(7*d) - (48*b^2*c^3 + 70*a^2*c*d^2 - 112*a*b*c^2*d)/(105*d^4) + (x^2*(35*a^2*d^3
+ 24*b^2*c^2*d - 56*a*b*c*d^2))/(105*d^4) + (2*b*x^4*(7*a*d - 3*b*c))/(35*d^2))

________________________________________________________________________________________

sympy [A]  time = 1.81, size = 240, normalized size = 2.14 \begin {gather*} \begin {cases} - \frac {2 a^{2} c \sqrt {c + d x^{2}}}{3 d^{2}} + \frac {a^{2} x^{2} \sqrt {c + d x^{2}}}{3 d} + \frac {16 a b c^{2} \sqrt {c + d x^{2}}}{15 d^{3}} - \frac {8 a b c x^{2} \sqrt {c + d x^{2}}}{15 d^{2}} + \frac {2 a b x^{4} \sqrt {c + d x^{2}}}{5 d} - \frac {16 b^{2} c^{3} \sqrt {c + d x^{2}}}{35 d^{4}} + \frac {8 b^{2} c^{2} x^{2} \sqrt {c + d x^{2}}}{35 d^{3}} - \frac {6 b^{2} c x^{4} \sqrt {c + d x^{2}}}{35 d^{2}} + \frac {b^{2} x^{6} \sqrt {c + d x^{2}}}{7 d} & \text {for}\: d \neq 0 \\\frac {\frac {a^{2} x^{4}}{4} + \frac {a b x^{6}}{3} + \frac {b^{2} x^{8}}{8}}{\sqrt {c}} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**3*(b*x**2+a)**2/(d*x**2+c)**(1/2),x)

[Out]

Piecewise((-2*a**2*c*sqrt(c + d*x**2)/(3*d**2) + a**2*x**2*sqrt(c + d*x**2)/(3*d) + 16*a*b*c**2*sqrt(c + d*x**
2)/(15*d**3) - 8*a*b*c*x**2*sqrt(c + d*x**2)/(15*d**2) + 2*a*b*x**4*sqrt(c + d*x**2)/(5*d) - 16*b**2*c**3*sqrt
(c + d*x**2)/(35*d**4) + 8*b**2*c**2*x**2*sqrt(c + d*x**2)/(35*d**3) - 6*b**2*c*x**4*sqrt(c + d*x**2)/(35*d**2
) + b**2*x**6*sqrt(c + d*x**2)/(7*d), Ne(d, 0)), ((a**2*x**4/4 + a*b*x**6/3 + b**2*x**8/8)/sqrt(c), True))

________________________________________________________________________________________